// cparserDlg.h : header file
//

#pragma once

#include "../compiler/cppqparser.h"
#include "afxwin.h"

// CcparserDlg dialog
class CcparserDlg : public CDialog
{
// Construction
public:
	CcparserDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_CPARSER_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support

	CString m_sPath;
	Compiler::CCppQuickParser m_Parser;


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnSelectFile();
	void FillList(void);
	CListBox m_wndList;
	afx_msg void OnBnLexicalAnalyse();
	afx_msg void OnBnSyntaxAnalyse();
};
